package com.moliku.insurance.model.entity.eastSea.check;

import com.moliku.insurance.model.entity.eastSea.submit.UserInfo;
import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
import java.util.List;

/**
 * @author 七分
 * @version 1.0
 * @date 2021/3/16 17:09
 * @effect
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "PolicyEndorseMain")
@XmlType(propOrder = {
        "ApplyNo",
        "userInfo",
        "EndorseTimes",
        "riskCode",
        "policyBase",
        "policyCargo",
        "policyClauseDto",
        "policyItem",
        "policyItemKind",
        "policyRelation",
        "endorseText"
})
public class PolicyEndorseMain implements Serializable {
    private static final long serialVersionUID = -8652477859225017786L;
    /**
     * 申请号
     */
    private String ApplyNo;
    /**
     * 用户信息
     */
    private UserInfo userInfo;
    /**
     * 批改次数
     */
    private String EndorseTimes;
    /**
     * 险种代码
     */
    private String riskCode;
    /**
     * 基本信息
     */
    private PolicyBase policyBase;
    /**
     * 货物信息
     */
    private List<PolicyCargo> policyCargo;
    /**
     * 特别约定
     */
    private List<PolicyClause> policyClauseDto;
    /**
     * 标
     */
    private PolicyItem policyItem;
    /**
     * 保险责任
     */
    private List<PolicyItemKind> policyItemKind;
    /**
     * 投/被保人信息
     */
    private List<PolicyRelation> policyRelation;
    /**
     * 批文
     */
    private String endorseText;
}
